package edu.hawaii.wicket.page.scheduler;
  /**
   * Class for hooking up to Google Calendar.
   * @author Gerolf Seitz
   * https://github.com/gseitz
   */
  public class GoogleCalendarEventSource extends EventSource { 

    private static final long serialVersionUID = 1L;
    /**
     * Constructor.
     * @param feedURL a url.
     */
    public GoogleCalendarEventSource(String feedURL) { 
      super(feedURL);
    } 
   
    @Override
    /**
     * Conversion to JsonString.
     * @return JsonString.
     */
    public String asJsonString() { 
      return "$.fullCalendar.gcalFeed(" + super.asJsonString() + ")";
    } 

  } 
